package com.feign.config.enums;

/**
 * TODO
 *
 * @Description
 * @Author ZW
 * @Date 2022/12/28 17:43
 **/

public enum RedisHead {
    //不同存入redis的头配置名
    /**
     * 过期题目的redis头
     */
    TITLE_EXPIRATION_TIME("ExpirationTime"),
    QUESTION("Question"),
    TEST_CASE("TestCase"),
    ANSWER_QUESTION("Answer2Question"),

    ANSWER_TEST_CASE("Answer2TestCase"),

    JUDGE_SERVER("JudgeServer"),
    STALE_QUESTION_DATA("StaleQuestionData");


    RedisHead(String head) {
        this.head = head + ":";
    }

    public String getRedisHead() {
        return head;
    }

    private final String head;
}
